<!-- box menu -->
<?php $this->renderPartial("application.views.layouts._menu");?>
<!-- End box menu -->
<?php 

?>
<div class="about">
        <?php $this->widget("BoxLogin");?>
        <h1><a><img src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-trodomain.png" alt="" class="kc_TB_td" /></a><a href="#" class="xanhdam">Trỏ Domain</a>
        </h1>
        <form name="parkDomainForm" action="<?php echo  Url::createUrl('tool/parkDomainExc')?>" method="post"> 
           <div class="TK">
           <?php
            if(!empty($error))
             echo $error;
            ?>
           <strong>Domain</strong><strong class="do"> *</strong><br />
           <input name="domain" type="text" value="" maxlength="250" class="onhap_TK" style="margin:0 0 0px 0px;" />
           <p>Bạn cần trỏ Domain về IP sau: 210.245.90.243.</p>          
            <div class="TK_1">
                <input type="submit" name="submit" class="button_APK" value="Lưu"/>
             </div>
           </form>
       </div>
        <h2>&nbsp;Danh sách Domain</h2>
       <div class="TK">
       <table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#dadcda">
                  <tr class="bg_DT_tr_1">
                    <td class="DT_a"><Strong>STT</Strong></td>
                    <td class="DT_b"><Strong>Domain</Strong></td>
                    <td class="DT_a"><Strong>Ngày tạo</Strong></td>
                  </tr>
                  <?php
                  $i=1;
                  if(isset($rowsDomain)){
                      foreach($rowsDomain as $row){
                      ?>
                      <tr class="bg_DT_tr_2">
                        <td class="DT_a"><?php echo $i?></td>
                        <td class="DT_b"><a href="http://<?php echo $row["domain"]?>"target="_blank"><?php echo $row["domain"]?></a></td>
                        <td class="DT_a"><?php echo date("d/m/Y",$row["date_create"])?></td>
                      </tr>
                      <?php
                      $i++;
                      }
                  }
?>
       </table>
       </div>
        <!-- box footer -->
           <?php $this->widget("BoxFooter");?>
        <!-- end box footer -->
</div>
